package com.lxg.service.impl;

import com.lxg.dao.BookDao;
import com.lxg.dao.UserDao;
import com.lxg.service.BookService;

/**
 * @author 陆小根
 * date: 2022/04/23
 * Description:
 */

public class BookServiceImpl implements BookService {

  private BookDao bookDao;
  private UserDao userDao;

  public BookServiceImpl(BookDao bookDao, UserDao userDao) {
    this.bookDao = bookDao;
    this.userDao = userDao;
  }

  @Override
  public void save() {
    bookDao.save();
    userDao.save();
    System.out.println("bookService save...");
  }

}
